/**
 * Copyright © 2014 Creativor Studio.
 * About license information, please see LICENSE.txt.
 */
package org.rayson.api.server;

import java.util.Properties;

import org.rayson.api.Protocol;
import org.rayson.api.server.exception.ServiceException;

/**
 * TODO Add type description here.
 *
 * @author creativor
 */
public interface ServiceFilter {
	public abstract void init(Protocol service, Properties properties)
			throws ServiceException;

	public abstract void invoke(ServerRequest request, ServerResponse response,
			FilterChain chain) throws ServiceException;
}
